.class public Lcom/waiqin365/lightapp/kehu/a/a/ae;
.super Lcom/waiqin365/lightapp/kehu/a/d;


# instance fields
.field public d:Ljava/lang/String;

.field public e:Ljava/lang/String;

.field public f:Lcom/waiqin365/lightapp/kehu/b/ab;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x74

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/a/d;-><init>(I)V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->d:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->e:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 9

    const/4 v0, 0x0

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v2, "code"

    const-string/jumbo v3, "0"

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->d:Ljava/lang/String;

    const-string/jumbo v2, "message"

    const-string/jumbo v3, ""

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->e:Ljava/lang/String;

    const-string/jumbo v2, "credit_data"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v2

    const-string/jumbo v1, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->d:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/ab;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/b/ab;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v3, "id"

    const-string/jumbo v4, ""

    invoke-virtual {v2, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v1, Lcom/waiqin365/lightapp/kehu/b/ab;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v3, "credit_id"

    const-string/jumbo v4, ""

    invoke-virtual {v2, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v1, Lcom/waiqin365/lightapp/kehu/b/ab;->e:Ljava/lang/String;

    const-string/jumbo v1, "baseinfo"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "name"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "status"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->c:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "oper_name"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->b:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "regist_capi"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->g:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "start_date"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->f:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "end_date"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->h:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "econ_kind"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->i:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "scope"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->j:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "addresses"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->k:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "belong_org"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->l:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "zip_code"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->p:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "websites"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->q:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "telephone"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->r:Ljava/lang/String;

    const-string/jumbo v1, "data_source"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "des"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->m:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "keyword"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->n:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v4, "url"

    const-string/jumbo v5, ""

    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v3, Lcom/waiqin365/lightapp/kehu/b/ab;->o:Ljava/lang/String;

    const-string/jumbo v1, "partners"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    :goto_0
    if-eqz v3, :cond_0

    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v5

    if-ge v1, v5, :cond_0

    invoke-virtual {v3, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    new-instance v6, Lcom/waiqin365/lightapp/kehu/b/af;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/kehu/b/af;-><init>()V

    const-string/jumbo v7, "name"

    const-string/jumbo v8, ""

    invoke-virtual {v5, v7, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    iput-object v7, v6, Lcom/waiqin365/lightapp/kehu/b/ad;->a:Ljava/lang/String;

    const-string/jumbo v7, "stock_type"

    const-string/jumbo v8, ""

    invoke-virtual {v5, v7, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v6, Lcom/waiqin365/lightapp/kehu/b/ad;->b:Ljava/lang/String;

    invoke-virtual {v4, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/b/ab;->s:Ljava/util/ArrayList;

    const-string/jumbo v1, "employees"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    :goto_1
    if-eqz v3, :cond_1

    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v5

    if-ge v1, v5, :cond_1

    invoke-virtual {v3, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    new-instance v6, Lcom/waiqin365/lightapp/kehu/b/ae;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/kehu/b/ae;-><init>()V

    const-string/jumbo v7, "name"

    const-string/jumbo v8, ""

    invoke-virtual {v5, v7, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    iput-object v7, v6, Lcom/waiqin365/lightapp/kehu/b/ad;->a:Ljava/lang/String;

    const-string/jumbo v7, "job_title"

    const-string/jumbo v8, ""

    invoke-virtual {v5, v7, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v6, Lcom/waiqin365/lightapp/kehu/b/ad;->b:Ljava/lang/String;

    invoke-virtual {v4, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/b/ab;->t:Ljava/util/ArrayList;

    const-string/jumbo v1, "branches"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v2

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    :goto_2
    if-eqz v2, :cond_2

    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v4

    if-ge v1, v4, :cond_2

    invoke-virtual {v2, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    new-instance v5, Lcom/waiqin365/lightapp/kehu/b/ac;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/kehu/b/ac;-><init>()V

    const-string/jumbo v6, "name"

    const-string/jumbo v7, ""

    invoke-virtual {v4, v6, v7}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v5, Lcom/waiqin365/lightapp/kehu/b/ad;->a:Ljava/lang/String;

    const-string/jumbo v4, ""

    iput-object v4, v5, Lcom/waiqin365/lightapp/kehu/b/ad;->b:Ljava/lang/String;

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/a/a/ae;->f:Lcom/waiqin365/lightapp/kehu/b/ab;

    iput-object v3, v1, Lcom/waiqin365/lightapp/kehu/b/ab;->u:Ljava/util/ArrayList;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    const/4 v0, 0x1

    :goto_3
    return v0

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_3
.end method
